using System.Windows;
using System.Windows.Controls;

namespace Xioa_UI.Controls;

public class XioaCalendarButton : Button
{
    #region Private属性

    #endregion

    #region Fields
    public XioaCalendar Owner { get; set; }
    #endregion

    #region 依赖属性set get

    #region HasSelectedDates
    public bool HasSelectedDates
    {
        get { return (bool)GetValue(HasSelectedDatesProperty); }
        set { SetValue(HasSelectedDatesProperty, value); }
    }
        
    public static readonly DependencyProperty HasSelectedDatesProperty =
        DependencyProperty.Register("HasSelectedDates", typeof(bool), typeof(XioaCalendarButton), new PropertyMetadata(false));
    #endregion

    #endregion

    #region Constructors
    static XioaCalendarButton()
    {
        DefaultStyleKeyProperty.OverrideMetadata(typeof(XioaCalendarButton), new FrameworkPropertyMetadata(typeof(XioaCalendarButton)));
    }
    #endregion

    #region Override方法

    #endregion

    #region Private方法

    #endregion
}